<template>
   <div class="ShopDetails">
      <div class="ShopDetailsHeader">
       <headerTou :border=true ></headerTou>
       <div class="UsePhoto">
           <img src="../img/Rectangle@2x.png" alt="">
           <div class="store">Richard Richards</div>
           <div class="consumption">送你消费特权</div>
       </div>
       </div>
        <div class="juzhong">
            <carque :data=data></carque>
       </div> 
            <caryouhui :data=dataone></caryouhui>
                   <div class="footflex">
          <div class="btn">领取</div>
         </div>
  </div>
</template>
<script>
import headerTou from "./zujian/header.vue";
import carque from "./zujian/carque.vue";
import caryouhui from "./zujian/caryouhui.vue";
export default {
  data() {
    return {
      data: {
        title: "亚华口腔",
        qianshu: "900",
        cishu: "20"
      },
      dataone: {
        qianshu: 90,
        neirongone: "全年口腔保健消费卡",
        neirongtwo: "2018.05.13-2018.06.30"
      }
    };
  },
  created() {},
  mounted() {},
  methods: {},
  components: {
    headerTou,
    carque,
    caryouhui
  }
};
</script>
<style scoped lang="scss">
.ShopDetails {
  .ShopDetailsHeader {
    height: 468px;
    width: 750px;
    position: relative;
    .UsePhoto {
      height: 468px;
      width: 500px;
      position: absolute;
      right: 0;
      left: 0;
      bottom: 0;
      top: 0;
      margin: auto;
      img {
        height: 116px;
        width: 116px;
        border-radius: 50%;
        position: absolute;
        right: 0;
        left: 0;
        bottom: 0;
        top: 0;
        margin: auto;
      }
      .store {
        text-align: center;
        position: absolute;
        right: 0;
        left: 0;
        bottom: 100px;
        height: 36px;
        font-size: 36px;
        font-family: PingFangSC-Medium;

        color: #333333;
      }
      .consumption {
        text-align: center;
        position: absolute;
        right: 0;
        left: 0;
        bottom: 50px;
        height: 36px;
        font-size: 36px;
        font-family: PingFangSC-Regular;
        color: #333333;
      }
    }
  }
  .juzhong {
    margin: 0 auto;
    width: 9.28rem;
    height: 2.613333rem;
  }
  .youhui {
    display: flex;
    width: 710px;
    margin: 0 auto;
    margin-top: 20px;
    box-shadow: 0 0.026667rem 0.053333rem 0 rgba(40, 8, 92, 0.4);
    box-sizing: border-box;
    .img {
      width: 230px;
      height: 190px;
      position: relative;
      img {
        width: 230px;
        height: 190px;
      }
      div {
        font-family: SFUIText-Medium;
        font-size: 60px;
        color: #ffffff;
        position: absolute;
        right: 0;
        left: 0;
        bottom: 0;
        top: 0;
        margin: auto;
        width: 100%;
        height: 60px;
        text-align: center;
        font-weight: 800;
        span {
          font-size: 32px;
        }
      }
    }
    .box {
      width: 480px;
      height: 188px;
      position: relative;
      .neirong {
        position: absolute;
        right: 0;
        left: 0;
        bottom: 0;
        top: 0;
        margin: auto;
        height: 90px;
        margin-left: 30px;
        .neirongone {
          font-family: PingFangSC-Medium;
          font-size: 36px;
          color: #333333;
        }
        .neirongtwo {
          font-family: PingFangSC-Regular;
          font-size: 24px;
          color: #a5a5a5;
          margin-top: 20px;
        }
      }
    }
  }
  .footflex {
    width: 100%;
    height: 102px;
    background: #ffffff;
    line-height: 102px;
    position: fixed;
    bottom: 0;
    .btn {
      border-radius: 8px;
      background: #e97a36;
      width: 630px;
      height: 72px;
      font-family: PingFangSC-Regular;
      font-size: 36px;
      color: #ffffff;
      letter-spacing: 0;
      text-align: center;
      line-height: 72px;
      margin: 0 auto;
      position: relative;
      top: 15px;
    }
  }
}
</style>